import api from '../index'
import config from "@/config"

export const pushHistory = (params) => {
	const url = `${config.pre}/supplier-activity/workFlow/push/history?pageNum=${params.pageNum}&pageSize=${params.pageSize}`
	return api.post(url, params)
}

export const pushHistoryAll = params => {
	const url = `${config.pre}/supplier-activity/workFlow/push/historyAll?pageNum=${params.pageNum}&pageSize=${params.pageSize}`
	return api.post(url, params)
}

export const allSupplier = (params) => {
	const url = `${config.pre}/supplier-activity/workFlow/supplier/allList`
	return api.get(url)
}